﻿using Abp.AutoMapper;
using Mt.Site.Core.Taxonomys.Entities;
using System.ComponentModel.DataAnnotations;

namespace Mt.Site.Application.Taxonomys.Dto
{
    [AutoMapTo(typeof(Taxonomy))]
    public class CreateTaxonomyInput
    {
        [StringLength(Taxonomy.MaxTitleLength)]
        [Required]
        public string Title { get; set; }

        public string LocalDisplayName { get; set; }

        public int Norder { get; set; }

        public bool IsTree { get; set; }

        public bool IsActive { get; set; }
    }
}
